@charset "utf-8";
@import "iconfont";
@import "common";

.remen{
    padding: 25px 10px 15px;
    color: #fff;
    background: #e14738;
    font-size: 20px;
    position: absolute;
    top: 0;
    left: 15px;
    width: 40px; 
    &::before{
        content: "";
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        border-left: 1px solid #e14738;
        border-top: 14px solid #e14738;
        border-right: 19px solid transparent;
    }
    &::after{
        content: "";
        display: block;
        position: absolute;
        top: 100%;
        right: 0;
        border-right: 1px solid #e14738;
        border-top: 14px solid #e14738;
        border-left: 19px solid transparent;
    }
}
.mar-auto{
    padding: 15px;
}
.img-rounded{
    width: 100%;
}

.game-con{
    position: relative;
    padding: 20px 0;
    h2{
        font-size: 30px;
        color: #2a2a2a;
    }
    p{
        line-height: 30px;
        font-size: 12px;
        color: #898989;
    }
    
}
.game-con-01{
    background: url(../img/game_bg_02.png) no-repeat center left;
}
.game-con-02{
    background: url(../img/game_bg_01.png) no-repeat center right;
}
.gam-more{
    font-size: 36px;
    color: #010101;
}

.list-game{
    margin-bottom: 60px;
    p{
        font-size: 14px;
        text-align: center;
        color: #2a2a2a;
    }
}
.gam-img{
    a{
        overflow: hidden;
        border-radius:6px;
        margin: 15px 0;
        display: block;
        position: relative;
        .img-title{
            line-height: 1.7em;
            font-size: 12px;
            border-radius:6px;
            color: #fff;
            padding: 10px;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            transform: translateY(-100%);
            transition: all .2s;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,.5);
            .text-wrap{
                overflow: hidden;
                height: 6.8em;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 4;
                -webkit-box-orient: vertical;
            }
        }
        &:hover{
            .img-title{
                opacity: 1;
                transform: none;
            }
        }
    }
}

@media (max-width: 414px){
    .game-con{
        h2{
            margin-top: 10px;
        }
    }
}
@media (max-width: 767px){
    .mar-auto{
        padding: 10px 15px;
    }
    .gam-img{
        a{
            margin: 10px 0;
        }
    }
    .list-game{
        margin-bottom: 20px;
    }
    .gam-more{
        font-size: 24px;
    }
    .game-con{
        background-size: 43%;
        background-position-y: 70px;
    }
}
